﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" 
    xmlns:nav="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
    x:Class="NicolasLight.MainPage"
    mc:Ignorable="d"
    d:DesignHeight="1024" d:DesignWidth="1280">

    <Grid x:Name="LayoutRoot" Background="LightBlue">
            <!-- Create grd Nicolas For The Entire Site -->
        <Grid x:Name="grdNicolas" HorizontalAlignment="Center">
            <!-- Create col def -->
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="217"/>
                <ColumnDefinition Width="847"/>
                <ColumnDefinition Width="216"/>
            </Grid.ColumnDefinitions>

            <!-- Create imgBackOut -->
        	<Image x:Name="imgBackOut" Grid.ColumnSpan="3" Source="Assets/Background/Side Backround ( outside page wrapper ).png" Stretch="Fill"/>

            <!-- Create imgPageWrapper -->
        	<Image x:Name="imgPageWrapper" Grid.ColumnSpan="3" Source="Assets/Background/Page Wrapper ( Backround ) 844 x 1024.png" Stretch="Fill"/>

            <!-- Create grd Head Nicolas -->
        </Grid>
        <Grid x:Name="grdHeadNicolas" Margin="217,0,216,0">
                <!-- Create col def -->
        	<Grid.ColumnDefinitions>
        		<ColumnDefinition Width="199"/>
        		<ColumnDefinition Width="648"/>
        	</Grid.ColumnDefinitions>
                
                <!-- Create row def -->
        	<Grid.RowDefinitions>
        		<RowDefinition Height="Auto"/>
        		<RowDefinition Height="880"/>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="*" />
        	</Grid.RowDefinitions>

            <!-- Create lgoNicolas -->
            <Button x:Name="btnLgoNicolas" Grid.Column="0" Height="89" Click="btnLgoNicolas_Click" Margin="0" Grid.Row="0" Style="{StaticResource btnlogoNicolasButtonStyle}" Foreground="{x:Null}" BorderBrush="{x:Null}" Background="{x:Null}">
            	<ToolTipService.ToolTip>
            		<ToolTip x:Name="tltNicolas" Width="150">
            			<ToolTip.Template>
            				<ControlTemplate>
            					<Border Background="Red" BorderBrush="Orange" BorderThickness="3" CornerRadius="10">
            						<TextBlock Foreground="White" Text="Home Page" TextAlignment="Center" />
            					</Border>
            				</ControlTemplate>
            			</ToolTip.Template>
            		</ToolTip>
            	</ToolTipService.ToolTip>
            </Button>

            <!-- Create imgHead -->

            <!-- Create imgMainContent -->
            <Image x:Name="imgMainContent" Grid.ColumnSpan="2" Margin="0,5,0,0" Grid.Row="1" Source="Assets/Background/Full Main Content.png" Stretch="Fill" Opacity="0.6"/>
            
            <!-- Create stck mnu Nicolas -->
            <StackPanel x:Name="stckMnuNicolas" Grid.Row="0" Grid.Column="1" Orientation="Horizontal">

                <!-- Create hypAbout -->
            	<HyperlinkButton x:Name="hypAbout" Content="ABOUT US" Click="hypAbout_Click" HorizontalAlignment="Left" Height="80" Margin="5,0,0,0" Style="{StaticResource mnuNicolasHyperlinkButtonStyle}" Width="200" Foreground="{x:Null}" Background="{x:Null}" Tag="About Our Company"/>

                <!-- Create hypPortfolio -->
            	<HyperlinkButton x:Name="hypPortfolio" Content="PORTFOLIO" Click="hypPortfolio_Click" HorizontalAlignment="Left" Height="80" Margin="5,0,0,0" Style="{StaticResource mnuNicolasHyperlinkButtonStyle}" Width="200" Foreground="{x:Null}" Background="{x:Null}" Tag="Explore Nicola's Projects"/>

                <!-- Create hypServices -->
            	<HyperlinkButton x:Name="hypServices" Content="SERVICES" Click="hypServices_Click" HorizontalAlignment="Left" Height="80" Margin="5,0,0,0" Style="{StaticResource mnuNicolasHyperlinkButtonStyle}" Width="200" Foreground="{x:Null}" Background="{x:Null}" Tag="Need Help, Registration, Login"/>
            </StackPanel>
            
            
        	<nav:Frame x:Name="mainFrame" Grid.Row="1" Grid.ColumnSpan="2" Navigating="mainFrame_Navigating"
                                    UriMapper="{StaticResource PageMapper}" Margin="20 0 0 0" />
        </Grid>

        <!-- Create stck Footer -->
        <StackPanel x:Name="stckFooter" Margin="0,0,0,10" Height="31" VerticalAlignment="Bottom" Orientation="Horizontal" HorizontalAlignment="Center">
                <!-- Create grd Footer -->
        	<Grid x:Name="grdFooter">
                    <!-- Create col def -->
        		<Grid.ColumnDefinitions>
        			<ColumnDefinition Width="143"/>
        			<ColumnDefinition Width="Auto" MinWidth="200"/>
        			<ColumnDefinition Width="352"/>
        			<ColumnDefinition Width="152"/>
        		</Grid.ColumnDefinitions>

                    <!-- Create row def -->
        		<Grid.RowDefinitions>
        			<RowDefinition Height="Auto" />
        			<RowDefinition />
        		</Grid.RowDefinitions>
                    
                    <!-- Create txtNicolas -->
        		<TextBlock x:Name="txtNicolas" Grid.Column="1" Grid.Row="0" TextWrapping="Wrap" Text="Copyright © Nicola's Light 2011" Foreground="White" VerticalAlignment="Bottom" Margin="0,0,0,10" FontSize="14"/>

                    <!-- Create txtJp -->
        		<TextBlock x:Name="txtJp" Grid.Column="2" TextWrapping="Wrap" Grid.Row="0" Text="Powered By Jp DeV Express" Foreground="White" VerticalAlignment="Bottom" Margin="0,0,0,10" FontSize="14" TextAlignment="Right"/>

        	</Grid>
        </StackPanel>
        </Grid>
</UserControl>